<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class OrderItem extends Model
{
    protected $fillable = [
        'order_id', 'brand', 'series', 'frame_no', 'new_price', 'mileage',
        'first_at', 'filed_at', 'diagnosis_at', 'engineer', 'engineer_comment',
        'diagnosis_report', 'appraisal_report'
    ];

    //
    protected $casts = [
        'diagnosis_report' => 'json',
        'appraisal_report' => 'json',
    ];
}
